# from django.shortcuts import render
from rest_framework import viewsets
from rest_framework.views import APIView

#
from app.models import College, Major, Classroom, Teacher, Class, Student, Course, Grade
from .serailzer import CollegeSerializer


class LoginView(APIView):
    pass
#
#
# # Create your views here.
# class CollegeViewSet(viewsets.ModelViewSet):
#     queryset = College.objects.all()
#     serializer_class = CollegeSerializer

# class MajorViewSet(viewsets.ModelViewSet):
#     queryset = Major.objects.all()
#     serializer_class = MajorSerializer
#
#
# class ClassroomViewSet(viewsets.ModelViewSet):
#     queryset = Classroom.objects.all()
#     serializer_class = ClassroomSerializer
#
#
# class TeacherViewSet(viewsets.ModelViewSet):
#     queryset = Teacher.objects.all()
#     serializer_class = TeacherSerializer
#
#
# class ClassViewSet(viewsets.ModelViewSet):
#     queryset = Class.objects.all()
#     serializer_class = ClassSerializer
#
#
# class StudentViewSet(viewsets.ModelViewSet):
#     queryset = Student.objects.all()
#     serializer_class = StudentSerializer
#
#
# class CourseViewSet(viewsets.ModelViewSet):
#     queryset = Course.objects.all()
#     serializer_class = CourseSerializer
#
#
# class GradeViewSet(viewsets.ModelViewSet):
#     queryset = Grade.objects.all()
#     serializer_class = GradeSerializer
